home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 3 / Light ROM 3 - Disc 2.iso / programs / amiga / 3d / ibm2amy / readme < prev   
Text File  |  1993-11-03  |  5KB  |  99 lines

  1. IM_Tran is a utility program for copying and converting picture 
  2. files from the IBM version of Imagine to the Amiga version of 
  3. Imagine.  You may wonder why this program is needed.  Well, as 
  4. we are all painfully aware, the Amiga (before the AA chip set) 
  5. is limited to a color pallete of 32 colors.  The Amiga version 
  6. of Imagine assumes this is the way the world is when it loads a 
  7. picture to display it.  On the IBM, however, there is a color 
  8. pallete of 256 colors.  Even though the format of the files on 
  9. the IBM and Amiga version are basically the same, the CMAP 
  10. information in the IBM produced files has 256 colors.  When the 
  11. Amiga version of Imagine tries to load and display one of these 
  12. files, it encounters this 'problem' and decides to just unload 
  13. the picture and not display it.  Thankfully Imagine does not 
  14. 'lock up' or anything like that, it just loads the picture and 
  15. then unloads it without displaying it.
  16.  
  17. One of the wonderful techs at Impulse informed me that all that 
  18. needed to be done was change the bytes in the hunk header for 
  19. the color map so as to make the file think that it only had a 
  20. map of 32 colors instead of 256 and then change the remaining 
  21. part of the 256 color map into a 'JUNK' hunk.  I asked back how 
  22. that would affect the colors in the actual picture and was told 
  23. that because it is a 24 bit image, only the first 16 colors in 
  24. the color map are used anyway (or something like that).  The 
  25. bottom line is that it works!
  26.  
  27. An additional purpose for this program is the file naming 
  28. differences on the IBM and Amiga version of Imagine.  On the 
  29. Amiga version the files are named pic.xxxx, where xxxx is the 
  30. number of the picture (i.e. 0001, 0002, etc.).  On the IBM 
  31. version (because of the stupid naming limits of MS-DOS blah) 
  32. the names are PICxxxx.ext, where xxxx is the number of the 
  33. picture and ext is the type of file format (i.e. RG8 for RGB 24 
  34. bit or HAM 8).  IM_Tran will take a range of picture numbers 
  35. and an extension for the IBM files and then copy/convert the 
  36. files to the Amiga naming convention and change the hunk 
  37. information.
  38.  
  39. IM_Tran is a workbench program.  If someone would rather have a 
  40. CLI version, send me mail on Compuserve of call during the day 
  41. at (602) 991-7272 and I will see if there is enough demand for 
  42. it.
  43.  
  44. To use IM_Tran first create an icon for the program.  Start the 
  45. program (all very basic Amiga stuff).  Once you have the 
  46. program running you will see the following objects in the 
  47. window:
  48.  
  49. Source Path:
  50. Destination Path:
  51. Pic # From:           To:
  52. IBM Extension:
  53.  
  54.  
  55. OK      Cancel  (buttons)
  56.  
  57. Enter the source path of where the IBM files are located.  I 
  58. use Cross-DOS to copy the files from a 720K IBM formated 
  59. diskette to my Amiga.  The Cross-DOS diskette is DI0:, 
  60. therefore I would enter DI0: as the source path.  If you used a 
  61. serial cabel to 'download' the files from the IBM to the Amiga, 
  62. you would put in the drive and path of the download directory 
  63. for the files (i.e. Work:Imagine/Download/).
  64.  
  65. The Destination path is where you want the pictures to end up.  
  66. If you were putting them into a sub-project that was called 
  67. First Pics in a project called My Project and your Imagine 
  68. program was located in Work:FP, you would enter
  69. Work:FP/My Project.imp/First Pics.pix/.  Notice that you need 
  70. to have the trailing '/' on the path.  The same is true for the 
  71. source path.
  72.  
  73. Next you would enter the starting picture number and the ending 
  74. picture number.  IM_Tran will use these numbers to copy each of 
  75. the files one at a time.  If the starting number is greater 
  76. than the ending number IM_Tran will just not do anything.  If 
  77. there is an error openning or reading a file, IM_Tran will go 
  78. on to the next picture number.  If the source file does not 
  79. exist IM_Tran again will simply go on to the next picture 
  80. number.
  81.  
  82. Last you need to enter the IBM extension.  For the RGB 24-bit 
  83. pictures produced on the IBM this would be RG8.
  84.  
  85. After entering all this information, you click on the OK 
  86. button.  You will then notice some drive activity.  After the 
  87. drive activity is finished you will find the pic.xxxx files in 
  88. the destination path.  These files will have the hunk 
  89. information changed and should load correctly into and display 
  90. in the Amiga version of Imagine.
  91.  
  92. I copied the IM_Tran program using Cross-DOS over to a 720k 
  93. diskette and then upload it to Compuserve from and IBM Clone 
  94. computer.  I do not know if this will cause it not to run on an 
  95. Amiga.  If anyone has trouble running it send e-mail to 
  96. 71441,741, Tony Pitman (thats me if you were wondering).
  97.  
  98. *** end ***
  99.